// 统一请求路径前缀在libs/axios.js中修改
import {
	getRequest,
	postRequest,
	Post,
	apiUrl
} from '@/utils/request.js';
let HomeApi = {}

/**
 * @desc 首页信息接口
 * @param {*} 参数 
 */
HomeApi.index = (params) => {
	return getRequest('/api/index/index', params)
}

HomeApi.city = (params) => {
	return getRequest('/api/index/city', params)
}


/**
 * @desc 首页信息接口
 * @param {*} 参数 
 */
HomeApi.LawyerList = (params) => {
	return getRequest('/api/index/lawyerlist', params)
}

/**
 * @desc 配置信息接口
 * @param {*} 参数 
 */
HomeApi.getconfigInfo = (params) => {
	return Post('/api/index/config', params)
}


export default HomeApi;
